﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace HttpTaskManage
{
    /// <summary>
    /// 终端服务器与域名管理 用于配置该域名在该终端是否可用
    /// </summary>
    [DataContract]
    public class TerminalDomainServer
    {
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; } = true;
        /// <summary>
        /// 设置封禁时间 /min
        /// </summary>
        public uint Time { get; set; }

        public DomainConfig DomainConfig { get; set; }
        public TerminalServer TerminalServer { get; set; }
    }
}
